package com.g13.virtualpethospital.exceptions;

import lombok.extern.slf4j.Slf4j;

/**
 * @Title: UserServiceException
 * @Author yyj1205
 * @Package com.g13.virtualpethospital.exceptions
 * @Date 27/3/2024 14:10
 * @description:
 */
@Slf4j
public class UserException extends Exception {
    public static class UserErrorCode {
        public static String FIND_NO_USER = "找不到用户";
        public static String UPDATE_FAIL = "修改失败";
        public static String DEL_FAIL = "删除失败";
        public static String ERROR_PWD = "密码错误";
    }
    public UserException(String msg){
        super(msg);
    }
}
